package com.example.backblog.repository.blog;

import com.example.backblog.entity.blog.BlogTag;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BlogTagRepository extends JpaRepository<BlogTag, Long> {
    List<BlogTag> findAllByBlogIdEquals(Long blogId);
    List<BlogTag> findAllByTagIdEquals(Long tagId);

}